home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
422mods.zip
/
FAMOUS2F.422
< prev
next >
Wrap
Text File
|
1993-04-16
|
5KB
|
130 lines
Hangup on users that hangup on you! (Fixed ver of FAMOUS2)
Famous Star #1 @6971 3≡7Cha-CHING!¡!¡3≡
Wed Apr 14 04:30:46 1993
╔═══════════════════════════════════════════════════════════════════════════╗
║ Mod Name : FAMOUS2F.MOD (REVENGE for users that hang up!) ║
║ Filename : FAMOUS2F.MOD Mod Version : 3.0 (fix) ║
║ Author : Famous Star [619-451-2174,,,11] Date : 04/14/93 ║
║ WWIV Version : 4.21a Files : COM.C, LILO.C ║
║ Difficulty : █▒▒▒▒▒▒▒▒▒ (Can you say "Hi. Welcome to Carl's Jr. May I ║
║ take your order please?") ║
║ Description : Don't you hate it when users nang up on your board?!?! ║
║ It's especially annoying when the drop carrier and cause the board to ║
║ stall (and you're not home to press the [RESET] button! Welp, now you ║
║ can get even with these assholes (that's why it uses the 'ass_pts' ║
║ accumulator)! This will send a message to the user each time they hang ║
║ up on the system. After 3 hangups, it will show them an ANSI and then ║
║ the board hangs up on the USER!!! *** This is a FIXed version of my ║
║ original FAMOUS2.MOD *** ║
╚═══════════════════════════════════════════════════════════════════════════╝
┌───────────────────────────────────────────────────────────────────────────┐
│ Disclaimer: If your computer gets stoned, your daughter gets pregnant, or │
│ your little brother decides that 'FORMAT C:/U' is the latest in cool │
│ video games- and doesn't understand what 'WARNING, ALL DATA ON NON= │
│ REMOVABLE DRIVE C: WILL BE LOST! Proceed with format (Y/N)?_' means, │
│ then don't come crying to me! │
└───────────────────────────────────────────────────────────────────────────┘
┌───────────────────────────────────────────────────────────────────────────┐
│ "My board keeps locking-up!" PLEASE - backup your source before ANY mod. │
└───────────────────────────────────────────────────────────────────────────┘
On with the mod...
Load up LILO.C and make the following changes in 'void logon'. Note: '=' means
exhisting lines and '+' means ADD this line. When you're finished, REMOVE the
'=' and '+'s before you compile!
= if (incom && live_user) {
= i=printfile("LOGON");
= if ((!i) && (!(thisuser.sysstatus & sysstatus_pause_on_page)))
= pausescr();
= }
+ if(thisuser.ass_pts>=5){
+ outchr(12);
+ printfile("asspts.msg");
+ sysoplog("1* 2Board hung up on user 6BELOW2, because they hungup on the board 5th0
ree times2! 1*");0
+ thisuser.ass_pts=0;
+ hangup=1;
+ }
= strcpy(xdate,date());
Now load up COM.C. Replace 'void checkhangup' with mine below.
void checkhangup(void)
/* This function checks to see if the user logged on to the com port has
* hung up. Obviously, if no user is logged on remotely, this does nothing.
* If carrier detect is detected to be low, it is checked 100 times
* sequentially to make sure it stays down, and is not just a quirk.
*/
{
int i, ok;
char s[81], u[81]; /* <-- (Fix:04/14/93) I forgot the u[81] in there! */
unsigned short un;
if (!hangup && using_modem && !cdet()) {
ok = 0;
for (i = 0; (i < 500) && !ok; i++)
if (cdet())
ok = 1;
if (!ok) {
thisuser.ass_pts=thisuser.ass_pts+1;
hangup = hungup = 1;
if (useron && !in_extern) {
sprintf(u,"%c4You hungup on your last call. Don't do it again!!!",3);
ssm(usernum,0,u);
sysoplog("4Hung Up0.");
}
}
}
}
Okay, now quit your editor and type MAKE to compile.
Now block copy the following into a file called 'ASSPTS.MSG' and pu it in
your '\GFILES' directory.
/* BEGIN BLOCK COPY */
6Question7:0
7---------0
2Do you NORMALLY end a phone conversation by HANGING UP THE PHONE *WITHOUT*0
2SAYING "GOODBYE"3?!?!!0
1I think NOT!0
5According to our records you have HUNG-UP on the me 6FIVE TIMES5 already! Even0
5though I am a machine, I have feelings just like a human being. I think it is0
5EXTREMELY rude to hang-up on somebody like you did to me. I hope you don't0
5hang-up on your friends without saying "bye" first. If so, you won't have0
5very many friends for long!0
1Please do not do this any more!!!0
4AS PUNISHMENT, I (THE COMPUTER) WILL NOW HANG UP ON *YOU*!!!0
1Call right back as long as you promise not to hangup again!0
2From now on, PLEASE USE THE '0O2' COMMAND FROM THE MAIN MENU TO LOGOFF! AND0
2*NEVER* HANGUP ON AN ONLINE GAME - just be patient!0
6Good day..............0
7 0
2- The Computer0
/* END BLOCK COPY */
Let me know how you like this one...and if it works with 4.22!
Thanks...
2≡5ƒÅ/\/\φù$ 6*5 ⌠╪åτ2≡0
2 5⌡0
2■7 5Famous0 6*0 5Star7'5s BBS0 5 1619-451-21746,,,110 6 4Cha-CHING!0 3IceNET 7@36971 LaMeNeT 7@33 2■0